<?php
	$i = 1;
	foreach ($profil as $case){
		echo "<a href='index.php?page=film&idfilm=".$case['idfilm']."'><table class='location'>";
		echo "<tr><td>film ".$i.": </td><td>".$case['titre']."</td>";
		echo "<tr><td>date d'emprunt : </td><td>".$case['date_emprunt']."</td></tr>";
		echo "<tr><td>date de retour effective : </td><td>".$case['date_retour_effective']."</td></tr></br/>";
		echo "</table></a><br/>";
		$i++;
	}
?>